<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@ page import="bridge.*" %>
<%@ page import="java.util.*" %>
<%--
 TableGenerator generator = new TableGenerator();
 generator.openFiles();
 generator.getTeamResults();		
 generator.generateTable(); 
 generator.printTable();	 
 generator.closeFiles();
%>

<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<BODY background="images/tkpk.gif"><BR>

<table border="0" cellspacing="3" cellpadding="2" width="630">
   <tr align="center">
     <td align="center"><b> TERMINARZ </b></td>
   <tr align="center">
	 <td align="center"><b> rozgrywek DMP - Liga Okręgowa Wrocław </b></td>
   <tr align="center">
	 <td align="center"><b> 2003/2004 - runda I </b></td>
   </tr>
</table>
<BR>
<TABLE cellSpacing=2 cellPadding=1 border=1
  style="
    font-family: Arial, sans-serif;
    font-size: 13px;
	font-weight: normal;
	color: #000000;">
  <TBODY>
  
  
  
  <TR valign=bottom bgColor=#ffce00>
    <TD align="middle"  height=8><B>M </B></TD>
    <TD align="middle"  height=8><B>Runda </B></TD>
    <TD align="center"  height=8><B>Suma </B></TD>    
    <TD align="middle"  height=8><B>I </B></TD>
    <TD align="center"  height=8><B>II </B></TD>
    <TD align="middle"  height=8><B>III </B></TD>
    <TD align="center"  height=8><B>IV </B></TD>
    <TD align="center"  height=8><B>V </B></TD>
    <TD align="center"  height=8><B>VI </B></TD>
    <TD align="center"  height=8><B>VII </B></TD>
    <TD align="center"  height=8><B>VIII </B></TD>
    <TD align="center"  height=8><B>IX </B></TD>
    <TD align="center"  height=8><B>X </B></TD>
    <TD align="center"  height=8><B>XI </B></TD>

  </TR>

 <% Iterator teams = generator.getTeams().iterator();
    int counter = 1;
    while(teams.hasNext()) {
        Team team = (Team) teams.next();
  %>
  
 <TR bgColor="<%=((counter%2 == 0)?"#FFF7D6":"#ffef9c")%>" <%=(("4".equals(team.getNumber()))?"style=\"font-weight:bold\"":"")%>)>
    <TD valign=top align=right width="20"><%=counter++%>. </TD>
    <TD valign=top align=left width="140"><%=team.getName()%> </TD>
    <TD valign=top align=middle width="45"><%=team.getSumOfResults()%></TD>    
    <TD valign=top align=middle width="20"><%=team.getResult(0)%></TD>        
    <TD valign=top align=middle width="20"><%=team.getResult(1)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(2)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(3)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(4)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(5)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(6)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(7)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(8)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(9)%></TD>
    <TD valign=top align=middle width="20"><%=team.getResult(10)%></TD>
  </TR>
  <%}%>

  </TBODY>
</TABLE>
<BR>
<TABLE width=720>
  <TBODY>
  <TR align=middle>
    <TD align=right width="50%"><B>Prześlij wyniki:</B></TD>
    <TD align=left width="30%"><A href="mailto:bajo3000@wp.pl">
    <IMG alt="Napisz do BAJO" src="images/email1.gif" border=0></A> </TD>
    <TD align=right width="20%"></TD>
  </TR>
  </TBODY>
</TABLE>
<BR>
<U>Numery startowe:</U> <BR>
<OL>
  <LI>KBS Kolejarz I
  <LI>KBS Kolejarz III
  <LI>AZS Politechnika IX
  <LI><B>AZS Politechnika XII</B> 
  <LI>KS Lotnik
  <LI>ZKS Polar-Milton
  <LI>KS Gwardia II
  <LI>KS Skrzydlaci IV
  <LI>AZS Politechnika XV
  <LI>AZS Politechnika XI 
  <LI>KS Korpus IV 
  <LI>KBS Kolejarz II
</OL>
<u> Terminy:</u>
  <table border="0" cellspacing="3" cellpadding="2" width="500">
       <tr align="center">
	     <td width="150" align="center">      1. 23-02-04 </td>
		 <td width="50" align="center">    12-1   </td>
		 <td width="50" align="center">    11-2   </td>
		 <td width="50" align="center">    10-3   </td>
		 <td width="50" align="center">  <b>  9-4 </b>  </td>
		 <td width="50" align="center">    8-5   </td>		 
		 <td width="50" align="center">    7-6   </td>		 
		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      2. 01-03-04 </td>
		 <td width="50" align="center">    12-6   </td>
		 <td width="50" align="center">    5-7   </td>
		 <td width="50" align="center"> <b>   4-8 </b>  </td>
		 <td width="50" align="center">    3-9   </td>
		 <td width="50" align="center">    2-10   </td>		 
		 <td width="50" align="center">    1-11   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      3. 09-03-04 </td>
		 <td width="50" align="center">    10-1   </td>
		 <td width="50" align="center">    9-2   </td>
		 <td width="50" align="center">    8-3   </td>
		 <td width="50" align="center"> <b>   7-4 </b>  </td>
		 <td width="50" align="center">    6-5   </td>		 
		 <td width="50" align="center">    11-12   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      4. 15-03-04 </td>
		 <td width="50" align="center">    12-5   </td>
		 <td width="50" align="center">  <b>  4-6 </b>  </td>
		 <td width="50" align="center">    3-7   </td>
		 <td width="50" align="center">    2-8   </td>
		 <td width="50" align="center">    1-9   </td>		 
		 <td width="50" align="center">    11-10   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      5. 22-03-04 </td>
		 <td width="50" align="center">    8-1   </td>
		 <td width="50" align="center">    7-2   </td>
		 <td width="50" align="center">    6-3   </td>
		 <td width="50" align="center">  <b>  5-4 </b>  </td>
		 <td width="50" align="center">    9-11   </td>		 
		 <td width="50" align="center">    10-12   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      6. 29-03-04 </td>
		 <td width="50" align="center">  <b>  12-4 </b>  </td>
		 <td width="50" align="center">    3-5   </td>
		 <td width="50" align="center">    2-6   </td>
		 <td width="50" align="center">    1-7   </td>
		 <td width="50" align="center">    11-8   </td>		 
		 <td width="50" align="center">    10-9   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      7. 05-04-04 </td>
		 <td width="50" align="center">    6-1   </td>
		 <td width="50" align="center">    5-2   </td>
		 <td width="50" align="center">  <b>  4-3 </b>  </td>
		 <td width="50" align="center">    8-10   </td>
		 <td width="50" align="center">    7-11  </td>		 
		 <td width="50" align="center">    9-12   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      8. 20-04-04 </td>
		 <td width="50" align="center">    12-3   </td>
		 <td width="50" align="center">  <b>  2-4 </b>  </td>
		 <td width="50" align="center">    1-5   </td>
		 <td width="50" align="center">    11-6   </td>
		 <td width="50" align="center">    10-7   </td>		 
		 <td width="50" align="center">    9-8   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      9. 26-04-04 </td>
		 <td width="50" align="center"><b> 4-1  </b>     </td>
		 <td width="50" align="center">    3-2           </td>
		 <td width="50" align="center">    7-9            	   </td>		 
		 <td width="50" align="center">    6-10           </td>
		 <td width="50" align="center">    5-11           </td>
		 <td width="50" align="center">    8-12           </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      10. 11-05-04 </td>
		 <td width="50" align="center">    12-2       </td>
		 <td width="50" align="center">    1-3           </td>
		 <td width="50" align="center">  <b>  11-4 </b>  </td>		 
		 <td width="50" align="center">    10-5           </td>
		 <td width="50" align="center">    9-6           </td>
		 <td width="50" align="center">    8-7           </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      11. 17-05-04 </td>
		 <td width="50" align="center">    2-1     </td>
		 <td width="50" align="center">    6-8     </td>		 
		 <td width="50" align="center">    5-9     </td>
		 <td width="50" align="center">  <b>  4-10  </b>  </td>
		 <td width="50" align="center">    3-11    </td>
		 <td width="50" align="center">    7-12    </td>		 
	   </tr>	   	   
   </table>
   
<u> Terminy jesie�:</u>
  <table border="0" cellspacing="3" cellpadding="2" width="500">
       <tr align="center">
	     <td width="150" align="center">      1. 27-10-2003 </td>
		 <td width="50" align="center">    1-12   </td>
		 <td width="50" align="center">    2-11   </td>
		 <td width="50" align="center">    3-10   </td>
		 <td width="50" align="center">  <b>  4-9 </b>  </td>
		 <td width="50" align="center">    5-8   </td>		 
		 <td width="50" align="center">    6-7   </td>		 
		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      2. 03-11-2003 </td>
		 <td width="50" align="center">    6-12   </td>
		 <td width="50" align="center">    7-5   </td>
		 <td width="50" align="center"> <b>   8-4 </b>  </td>
		 <td width="50" align="center">    9-3   </td>
		 <td width="50" align="center">    10-2   </td>		 
		 <td width="50" align="center">    11-1   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      3. 17-11-2003 </td>
		 <td width="50" align="center">    1-10   </td>
		 <td width="50" align="center">    2-9   </td>
		 <td width="50" align="center">    3-8   </td>
		 <td width="50" align="center"> <b>   4-7 </b>  </td>
		 <td width="50" align="center">    5-6   </td>		 
		 <td width="50" align="center">    12-11   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      4. 24-11-2003 </td>
		 <td width="50" align="center">    5-12   </td>
		 <td width="50" align="center">  <b>  6-4 </b>  </td>
		 <td width="50" align="center">    7-3   </td>
		 <td width="50" align="center">    8-2   </td>
		 <td width="50" align="center">    9-1   </td>		 
		 <td width="50" align="center">    10-11   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      5. 01-12-2003 </td>
		 <td width="50" align="center">    1-8   </td>
		 <td width="50" align="center">    2-7   </td>
		 <td width="50" align="center">    3-6   </td>
		 <td width="50" align="center">  <b>  4-5 </b>  </td>
		 <td width="50" align="center">    11-9   </td>		 
		 <td width="50" align="center">    12-10   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      6. 09-12-2003 </td>
		 <td width="50" align="center">  <b>  4-12 </b>  </td>
		 <td width="50" align="center">    5-3   </td>
		 <td width="50" align="center">    6-2   </td>
		 <td width="50" align="center">    7-1   </td>
		 <td width="50" align="center">    8-11   </td>		 
		 <td width="50" align="center">    9-10   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      7. 15-12-2003 </td>
		 <td width="50" align="center">    1-6   </td>
		 <td width="50" align="center">    2-5   </td>
		 <td width="50" align="center">  <b>  3-4 </b>  </td>
		 <td width="50" align="center">    10-8   </td>
		 <td width="50" align="center">    11-7   </td>		 
		 <td width="50" align="center">    12-9   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      8. 05-01-2004 </td>
		 <td width="50" align="center">    3-12   </td>
		 <td width="50" align="center">  <b>  4-2 </b>  </td>
		 <td width="50" align="center">    5-1   </td>
		 <td width="50" align="center">    6-11   </td>
		 <td width="50" align="center">    7-10   </td>		 
		 <td width="50" align="center">    8-9   </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      9. 13-01-2004 </td>
		 <td width="50" align="center"><b> 1-4  </b>     </td>
		 <td width="50" align="center">    2-3           </td>
		 <td width="50" align="center">    9-7            	   </td>		 
		 <td width="50" align="center">    10-6           </td>
		 <td width="50" align="center">    11-5           </td>
		 <td width="50" align="center">    12-8           </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      10. 19-01-2004 </td>
		 <td width="50" align="center">    2-12       </td>
		 <td width="50" align="center">    3-1           </td>
		 <td width="50" align="center">  <b>  4-11 </b>  </td>		 
		 <td width="50" align="center">    5-10           </td>
		 <td width="50" align="center">    6-9           </td>
		 <td width="50" align="center">    7-8           </td>		 
	   </tr>
       <tr align="center">
	     <td width="150" align="center">      11. 27-01-2004 </td>
		 <td width="50" align="center">    1-2     </td>
		 <td width="50" align="center">    8-6     </td>		 
		 <td width="50" align="center">    9-5     </td>
		 <td width="50" align="center">  <b>  10-4  </b>  </td>
		 <td width="50" align="center">    11-3    </td>
		 <td width="50" align="center">    12-7    </td>		 
	   </tr>	   	   
   </table>
   
<br>   
<script language="JavaScript" src="http://count.mystat.pl/count.js"></script>
<script language="JavaScript">
<!--
   par="?s=bajo&p=index&c=logo1"
   if (window.writeMyStat) writeMyStat();
//-->
</script>
<noscript><a href="http://www.mystat.pl" target="_top"><img src="http://www.mystat.pl/servlet/count.gif?s=bajo&p=index&c=logo1"></a></noscript>
<!-- prosze nie usuwac tego komentarza -->
<!-- Kod statystyk MyStat - koniec -->

<script language="JavaScript" src="http://count.mystat.pl/counter.js"></script>
<script language="JavaScript">
<!--
   par="?s=bajo&p=index&t=s&c=roman8&fg=FFFFFF&bg=000000&d=0"
   if (window.writeCounter) writeCounter();
//-->
</script>
<noscript><a href="http://www.mystat.pl" target="_top"><img src="http://www.mystat.pl/servlet/counter.gif?s=bajo&p=index&t=s&c=roman8&fg=FFFFFF&bg=000000&d=0"></a></noscript>
<!-- prosze nie usuwac tego komentarza -->
<!-- Kod licznika MyStat - koniec -->


</BODY></HTML>
--%>